add an echo test for process write to std in