Added test for recognizeimages.