testing infinite-loop