fix(test-data): Correct engine error reporting in test scripts (refs #4656)
fix(txt2pdf): Correctly handle errors from subprocesses in txt2pdf (refs #4676)