passing tests for redirection