getAllGroups test enriched