adding output buffer function to Bart\BaseTestCase