Update tests slightly, implement quicksort