Refactor tests to use MiniTest::Spec

As minimal required ruby is 1.9.2 there is no point to keep using
Test::Unit