BinaryHeap as PriorityQueue. More tests.