Fix test suite AR conditional in previous commit

as the test was not being run at all and should not be run
with Rails 4.2.