Test for controller redirect