fix on equals and tests on values