added standard quicksort and fix tests