Test for managing groups for model