Spec invalid configuration

I used Coveralls to find a few untested lines, all concerning error handling following invalid configuration of cops.