Cleanup

Fix panic when we update the DB without all the scores, add unittest to make sure we're initializing all the scores. @mozkeeler ready for review.