Rename SurveyConsole, add some test codes

In SurveyController, add some test codes in main method in order to test
the functions