removeResources now take a Set as parameter.
Unit tests of Resource and ResourcesManager added.