Add some test for Ressource class