added last_required field to surveyquestion to help determine when survey is completed.
fixed data migration for positive response and added tests