tests: Add `array-for-each' tests for one-dimensional traversals.