added test for isImage validator