modify unit test for multi-clients