Test in several versions of ActiveRecord

Note that tests fail in AR 3.2.12