CMS-1241 Implement search for Image Input type.
Fixed unit test.