Remove deprecated method assertEqual from Session tests