Make mocking of system call easy
Fix tests for Python 3
Improve test coverage
Publish version 0.4.0