Fixed removal in per-doc-priority-queue
diff --git a/t/util/priority_sort_per_doc.t b/t/util/priority_sort_per_doc.t
index 0995c8b..a0480f3 100644
--- a/t/util/priority_sort_per_doc.t
+++ b/t/util/priority_sort_per_doc.t
@@ -35,6 +35,12 @@
ok($sorter->insert(node(5, 1, 'Baum 9')), 'Add record to sorter - 5/1');
is($sorter->length, 6, 'Length');
+ok($sorter->insert(node(5, 2, 'Baum 10')), 'Add record to sorter - 5/2');
+is($sorter->length, 6, 'Length');
+
+ok($sorter->insert(node(5, 7, 'Baum 11')), 'Add record to sorter - 5/2');
+is($sorter->length, 10, 'Length');
+
diag 'Test with same rank and multi in-docs!';
done_testing;