add tests that ensures t gets injected correctly

- Adds tests for controllers, routes, models and components
- Fixes bug: In the initializer there is a typo that prevents t from being injected
into models. This bug needs to be fixed, otherwise the test for the
models fails.

 #14