added client unit test