Capture stdout and stderr and include in junit test results