added tests for equality comparers & fixed issues found