A few small fixes

Addresses some warnings and a few other things.

@xaviershay, SimpleCov 0.8 now has an option to enforce a coverage minimum, so this uses that rather than cane.