Update minitest dependency to >= 5.0.5
Fix tests on Ruby 1.8