fixed minitest deprecation warnings