Add unit tests for NamespaceDescriptor