Test case for Controller#before.