Add SurveyFactory test.
Fixed file class name mismatch.
Add test for Survey.