add UT for Proxy and Consumer