update minitest inheritance class. avoid future deprecation