tests: don't attach empty stdout / stderr