Added test for the location header on a redirect.

Added test for the location header on a redirect.