improved test programs of sorting algorithms