Working test suite for priority queue