tests: switch to Minitest 5

`MiniTest::Unit::TestCase` is now `Minitest::Test`. Update to the latest Minitest 5 API.