Unit test the controller.