deduplicated pluginInTest