Rework replication test