Mocks stdout and stderr without pane.