added tests for priorityqueue dequeue out of order