Don't need cache or $routes for the test.