create questionnaire bug fix, adding type field, fixing next field for questions. Adding tests for CreateQuestionnaire.