Adds test to check for correct replicator state when prematurely stopping replication.