1. add test by DB.
2. add model base class.