add unit tests for rejection of conflicting namespaces

checks some validation that wasn't being exercised before.