test for redirect following