testdata: Add simple for-loop test case.