More unit tests for controllers.