We don't need the location to be available here because I just want to guarantee that an IOException will not occur when the HttpEngine (not sure if it is that class) handles the redirected URL. For that this test was enough.