Add routeFor test helper
Refactor to use new test helper