More test cases for Controller.