Test case for Controller#error.