Restrict rake to minitest ~> 4

Rake is included in ruby which is only up to minitest 4.x, not minitest
5.  If minitest 5 features are used rake's tests will not run after an
import into ruby.