tests to quicksort