implement rebalance with failover test cases