Implemented tests for Group/Team-only permissions.