Groups and Roles changes and Unit tests