(Bizarre) failing test case for "for" blocks