Added tests for ItemHeap sorting