testsuite: better handling of FATAL test failures