fix ResourceCollectionTest