Improve test coverage, formatting, documentation
Update to version v0.9.7