testing qsort