add test cases and max concurrency client support