Introduce the test namespacer.

More flexible way to build test namespaces.