Fixed warning, minitest/autorun should be required first
Lock minitest version from going to 5
Merge pull request #1287 from Ortuna/minitest-fix

Minitest fix