Fix remove and get of non-existent id
Tests for BinaryHeap