Added failover tests for replicaset