Functional: add a unit test to check for namespace ambiguities