Refactor custom mock modules into one
Modify the 'rest.Api' mocks to only mock requests and proxyfi all the requests to allow runnig rest module code