made mocks sane by implementing equals, hashCode, toString