statements: Add foreach test.