check for image contents and size in tests