updating deprecated minitest to fix deprecated method