Controller unit test.