fix for WanReplication test