Convert test suite to Minitest.

test-unit has been deprecated since Ruby 1.8; it's advisable to convert test suites to Minitest. This patch does that.