minor cleanup
migrated EqualsNotOverridenWithCompareTo check & beefed up test cases