Update testing gems and fix the one rubocop warning