Starting to add unit tests for Resource resource class.