dump stdout for test