Resolve warnings with new minitest version