Some tests and initial functions of priority queue