Remove deprecated method assertEqual from File tests