added tests for heapsort algorithm