Remove deprecated method assertEqual from Image tests