Run rubocop as part of test.rb if installed

Test runs now fail on code style violations