Adds a helper to ensure we don't fall back to real HTTP requests when we want to mock.

One-character test fix.