tests updated:
nested workaround removed from namespace_class.i
propagated nested template declaration to the C++ file