Some tests with for loops