Improve coverage

Remove dead code, add some WorkflowBuilder tests, and simplify a couple
pattern match cases.

There’s more to be done (of course), but hopefully this will put us back
above the minimum. Also, the re-colored scoverage output is super helpful.