Added tests and code for PriorityQueue dictionary implementation