test parsing by for loop