Initial version for testclient