add test that loops with a standard for-loop (see #41)