Fix broken tests after conversion from Mongoid to ActiveRecord.