Add tests for snapshot replication.