testing uniqueness of location