removing $location dependency isn't used in the test.