Buffer the output in the tests.