iterator testing
merging testing code