Testing the image extraction.