Use object.equals to test for equality