Modify addToGroup and removeFromGroup tests to include multiple groups.