Upgrade minitest version

We made a change in #13213 that depends on a new file that's only in
minitest 5.1.0+, so the version should be updated.
Merge pull request #13231 from chancancode/upgrade_minitest

Upgrade minitest version