Added test: replicate sync is wrapped