Rewrite test suite to use MiniTest and Rake