Test out loop state