tests for curated_groups_autocomplete