Add test for global replication.