generate character resource with model tests