more tests for loops