sample test with for loop