refactoring tests for is.equal
add some tests for is.equal
add some logic and tests for is.equal
add some test for is.equal