Add test for invalid route

Clean up component test class and add a failing test for a bad route.
Make invalid route test pass

Add router to application
Move trace to separate resource
Remove test for bare application (relative route not working?)