Small refactor in submission.py
Testing backend will mark a test result as failed

* The score fields are blank in a failed test result. The web
  interface doesn't like this very much and the views will
  crash.