Better escape the url template when using placeholders
Use the route() helper as a function.
Fix the url template escape
Add tests for the routes with placeholders