Wrote some more basic model unit tests.

Added a code coverage tool (blanket) to the project. Run "npm
run-script coverage" to get a code coverage report. The persistence
layer is decently-exercised in the project I wrote this for but not
well-exercised here in isolation.