More test cases for Controller#error.