add tests for lazy-model.