Cleanup: use tokio::test instead of special test helpers
Added pty_exec.py helper script to run binaries with a pseudoterminal attached (bug won't trigger otherwise).
Tested CI to fail on all unixes (ubuntu+macos) with older rustyline, and pass with new one.