corrected redirect tests