for loop testing