[refactor] [test] internal implementation of HandleCollection now based on \SplPriorityQueue