Added test coverage to much of the small bit of the library that was untested. Discovered two unreachable branches by virtue of this cleanup. Without proper mocking, the last 3 bits of code that aren't covered by C0 will be pretty annoying.
Merge pull request #9 from kbrock/test_coverage

[WIP] Added test coverage