add tests for active_record class
Merge branch 'hotfix/0.0.3'