Run Rubocop task only in test mode