Fix rubocop warning 'TrailingComma' in uniq_spec