heapsort tests