remove uncalled PriorityQ.isEmpty from coverage
add error-data roundtrip test