Repositories weren't properly passing a response to initiate client, add tests for accountGroups resource.