Split down the tests into individual files

We also now have some tests for creating elections
The views are now nicely split down.