new plugin test, and fix to make plugins work