Got the tests working for ruby 2 and Rails 4