basic for loop test passes