loop spec ok.
add loop test for lua examples.