Changed inner resourceRequests to requests
Updated tests to match new API