tests for http redirects