Added unit testcases for quicksort