Refactoring: test namespaces