Minor rubocop fix
Bump test gem versions and fix a single rubocop warning