changed flash notice to flassh error in tests
added update tests for candidate controller
added update tests for candidate controller
updated submit test
changed flash notice to flassh error in tests
latest coverage