Add test for election name.
Generalise the PerformRequest test helper.
Add test for getting elections.