Fix bug in object/equals and add test for bug