tests for quicksort, but oddly, mergesort is orders of magnitude faster.  Something weird here