adding a mock test for a simple doRequest