[#868] Handle stdout and stderr responses for test requests