Added test case to handle response of streamed redirects.

Credits go to @zackw.