Fix ActiveModel::Lint tests on ActiveRecord 4.1