finished the client test tools