test>model/new: initial tests and fixes for Model.

still need:
* events.
* shadowing.
* attributes.
* serialization.