Work on test coverage, and remove an unused method.
Bugs fixed while working on tests.
New tests.
Ignore the .coverage file left behind by coverage testing.