tests: fix test suite
tests: fix test suite

Subtest output is not easy to control e.g. due to changes in GHC
behaviour over time.  Indeed the tests are currently broken.  Avoid
assumptions about what will appear in subtest stdout and use exit
status to determine success.

willdonnelly/dyre