Adding unit test for EB client factory