Unit tests for GetService() and Location()