Add integration spec

* Capture user input with stdout and execute it