StudentData unit testing

should be complete
also minor changes elsewhere, to the question selection algorithm in
QuizRunner