do_tests.sh: deal with final newlines in the output
Shell strips all final newlines in the command substitution, so
provide a kludge that emits an additional sentinel character that the
caller can then strip away with %
(remove suffix). Try to wrap it up
nicely to hide as much gory details as we can.
Enable keep/strip chomping tests.