Added test helper for requests stubbing