Fix tests after changes in pending_requests()