Wrote a unit test covering the apex client multiple connections