created equals/hashcode test for location