Convert to Minitest.

The old Test::Unit stuff is deprecated; I ran into this with a FTBFS failure on Fedora. This patch fixes it by converting all the tests to Minitest proper.