added `equals`
added tests for `equals`