fix location unit test.