Update README.md

Correct a typo.
Add some basic unitests.

I had some issues with the library, which these unittests helped me to
understand. The answers appear to be approximate to within +/- about a minute.

This is fine if it's known, but very confusing otherwise.