Added equality tests.