Adjust unit test to YangModuleInfo API change