[DCOM-96] Add tests for AbstractProxyFactory.