TST: Fix tests for equality operator method