Test and implement get_replica_ids