Test a redirect helper.