addition of UserGroupModel UnitTests, changes to UserGoupModel class to pass tests