Added a full election test.