testing AStar with different PriorityQueue