Verify that once there are slaves, we are connected to a slave as expected.
If all slaves are down, a connection should be created to the master.