Code Climate test coverage

This change slightly modifies the spec_helper to better work with Code
Climate's test coverage.
Merge branch 'code-climate-test'