Fixed equals unit test.