Modify tests
Fix order of call doConvertPlugins after stripLinkDefinitions and others