Add unit tests for nearby locations