Adds fix for Rails 4.1/Minitest 5.x

This seems to:
* Fix cucumber/cucumber-rails#275
* Fix atlrug/atlrug4#41