The test is composed of a few parts. 1: Test that failover happens on master failure. 2: Test that a server with slave sql thread stopped is not promoted. 3: Test that a server with log_slave_updates=1 is promoted before others.