Added test for FOR - ON where iteration variable shadows a local variable.
Added test for FOR - ON with destructuring and narrow destructured type declaration.
Added test for AS - ON.
Added test for two AS - ON clauses.
Added test for one AS - ON and one FOR - ON clause.
Added test for one FOR - ON and one AS - ON clause.
Added test for FOR - ON with non-trivial side effects.