add model_init unit test