controller.data unit test.