Delete files and dirs after tests
Removed calls to #ruby_object and #exit_status
Use PTY instead of IO.popen

Wasn't getting stdout to print.
Attempt to fix mixing of builtins with ruby code