Fixes to make the medPluginGeneratorTest succed