Increase test coverage

Some more specs and code removal to increase test coverage.

TODO

- [x] Squash some commits
Does this unit test make sense, or should it be indirectly tested via `cop.offenses` etc. like the rest?