fixed replication test