Sample preparation for testing in optical microscope using VR