fix teardown_once with minitest