Adding tests for the ResourceCollection