Add replica support to CME testing. We currently hardcoded replicas 0 in our CME tests. Add a config to update the replicas.