fixed newlines in questions and answers
fixed test types and added question sorting