Add tests for usergroups controlpanel