modify LoadBalancerImpl class and its test.