unit-tests: In TestNameMethods, update testPrefix and testSubname tests to the PyNDN version.