some corrections in test_client unit test