add validation tests for models
add tests for models
Merge branch 'develop' of github.com:pbsphp/railchan into develop