add for loop test case