Add test for equality comparisons