add client test code