Fix tests for Python 3
Improve test coverage
Publish version 0.4.0