Fix the test to fail

* Sometimes Input/output error occurs pexpect in response to the output of ps.
* It has not been backed up env because a shallow copy.
Merge pull request #15 from shiena/patch/tests

Looks good, thank you! What is your full name so I can add you to the contrib list?