Got test coverage up again. Discovered and fixed a bug.