added test for heapSort();