Stub request scheme in tests.