tests: switch to minitest 5

MiniTest::Unit::TestCase is now Minitest::Test.

Add minitest as a dev dependency to the gemspec.