Fix %nspace support and activated relevant tests.