Add unit tests for Locator equals and hashCode

Trying to increase some unit test coverage for equals methods and hash code methods.