Added unit test case for testing more easily the resources.