Fixing environment tests related to valid/invalid names.
Fixing SystemGroups tests to handle content views requirement.