updating models with unit tests.