* refactor(plugin-workflow): multiple instances and event management (fix #384) * fix(plugin-workflow): fix test case