Remove all traces of getRequestObject function

the getRequestObject function was removed some while ago, but it was still mentioned in the documentation string and was present in the tests.