Fix failing test. Test correct redirection