Object equality test.