Tests and typos.

Increase test coverage.

Fix spelling and typos in a comment.

Minor update to todo in README.md