Adds rubocop to the test suite
Fixes rubocop warnings