Completed and working test for Location class