Refactor PluginService test to rely on local plugins, strongly improves execution time refactor a few tests to properly handle cache directory cleaning