step down to old phpunit version because of phpstorm compatibility
test pre/post functions for entities

* preInsert()
* postInsert()
* preUpdate()
* postUpdate()
* preDelete()
* postDelete()
bring test coverage of Model traits to 100%, some fixes while testing