add tests for namespaces