Add a test for spread and iterators