Fix namespacing issues in unit tests.