Move redirection tests to the common test script.