test empty namespaces behave as expected