Test that only one node is elected leader when all nodes contain the same state.
Refactor test framework to allow providing full cluster configurations.