testing java proxies after adding method