Add test for 307 HTTP status to Location handling in streams