Test Replicate State Machine