Correctly inherit MiniTest. Add Thor to Gemfile.