Add racktests
Add unit tests for location