add some test and quicksort implementation