Tests written for getMessageForAnswer()