routes, resources and controller tests