Refactored SurveyResponse and its test case.