test for the image capture