Adds fix for Rails 4.1/Minitest 5.1

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