Create some groups in a site.
Add an announcement and assign the announcement to some groups, it will display the new component.
Edit the announcement and change the groups.
Switch between visibility options, from groups to public and site.
Provide a better UI to assign groups to an announcement, if possible use the bootstrap multiselect component introduced in SAK-33984.