A mock version of the 'request' module for use in tests.