client model unit tests