add unit test for priority_queue