Add runner.Wait() call to tests
Add Runner test for stdin buffering