improving PluginInterface (+tests)