There should be unit tests for all the masters that stops and starts the master multiple times, simulating fault tolerant mode.