Ensure backward compatibility between Minitest 5 and 4

Hello,

Just a pull request that define `Minitest::Test` in case we are running the bug report gist under Minitest 4 and avoid relying on `MiniTest::Unit::TestCase` to avoid displaying warning on version five.

Reference : #13502

Have a nice day.