tests: wait for healthy startup of replicaset.