Adds fix for Rails 4.1/Minitest 5.1