add failover-test.sh.