Adding unit tests for controllers

This PR adds unit tests for controllers now that they have been made non-container aware.

TODO:

- [x] Remove `Controller` pattern from phpunit.xml exclude
- [x] Write unit tests for all controllers