test replication api