Code tweaks
Make parameter required
Add mockFiles helper
Fix duplication of plugins configurations
Add some tests for the plugin class