Added methods to test getAnswer in SurveyAnswerTests
Modified the method getAnswer in the domain class SurveyAnswer.