fix for WanReplication test
Merge pull request #2023 from mesutcelik/wan-replication-fix

fix for WanReplication test