Tune replication and stabilize tests