modify LoadBalancerListener, add tests of it.