adds an election spec/tests