Created a unit test for Location.