added tests for image comparison