comparison by reference in ObjectIsEqual