Tests for GroupsApi.getUserGroupsByIds