Fix and improve the primitive array iterables. Add a test for one of them.