add tests for temporary redirects