added equalsTracker and a unit test for it