Fix native for loop test.