Fix rubocop warning 'TrailingComma' in sum_spec