Correct RuboCop offenses in tests files