unit test for vmware connector using mock