Update minitest dependencies to use 4.x
Restore 1.8.7 compatibility following #247