added simple loop test (ok)
added a nested loop test (ok)