Use type assertions for PriorityQueue test

I'm actually surprised it worked before, but it did. I guess
fmt.Printf() does some smart introspection.