add java client test