renamed equals to equal in tests