move redirect test to setUP