Func for running minitest specs and fix rubocop autofix