For-each tests