Ensure getNamespace returns all groups
Improve tests