Added templates.
Added template test to route.