Tests for CsiApi::ClientFactory