Adding code coverage metrics.

Using SimpleCov to measure code coverage.
Wrote several new specs to deal with gaps.