Fix selection sort test