Add test script for syncing many replicas concurrently (#5386).