Test for two AS - IN clauses.
Test for one AS - IN and one FOR - IN clause.
Test for one FOR - IN and one AS - IN clause.
Test for FOR - IN - BY with several side effects.