Test ActiveRecord
Complete test