Split common code out and make two executables to simulate two different groups of servers with different leader election locks.