add the ability of TestClient to accept arguments

add the ability of TestClient to accept arguments