implementing log replication tests