add Model::validate() tests