made a common fixture formonkeypatching send_request, removing redundant code in each method