reduced test cases for contract equals builder