Test image comparison