testing for equivalence of namespaces starting with / or without