This test doesn't make much sense. If your assertion passes, it will attempt to redirect to a location that it won't be able to connect to. (We can't guarantee that `foo.com` will be available.)