Added replication test