updated unit test for client model