Add selection sort test with for loops