add replication test