Added test case with redirects in it.