Fixes for rubocop/foodcritic and added testing Rakefile