Added new test case 'tst_loop_example'