redirecting output back after test execution from gui