Add Mockery for test
Modify test config
Modify tests
Change using PluginRepository.

Add setter PluginRepositoryInterface.
Rename repository member
Change catching Exception InvalidArgumentException to Exception
Change Plugin repositoties