Adds a header and get method to the mockRequest.js.