Add ActiveRecord test script