Added tests for SurveyRecord.