Fix code formatting in rake task
Fix rubocop issues with rake tasks

* Add rake tasks to list of files to test