convert from test/unit to minitest