test priority queue briefly on ghci, and fix `null` func