add java proxies test code