Only send stdout/stderr message for the test function call.