Added failing test for foreach and a trivial fix to the grammar.