Test Swift App with for loops