Fix rubocop warning 'TrailingComma' in kernel_spec