Added stdin test.
Faking proc.poll.
Merge pull request #41 from rolobio/stdin-testing

Stdin testing