added things for redirect tests