base model unit test