flush output streams more often, improve formatting of test failures in dbtests #51