Improve redirection support of os.system
Improve tests
Update README.rst