Add unit test for Location.
Use fixed values instead of random ones for LocationTest
Merge pull request #232 from bertm/rewrite-location

Add unit test for Location.