core-resource-7 phpunit test for collection