for loop test try()