updating testGetCollectionWithHeaders test