fix piping input to executable in tests