test for following redirects