Added JUnit test class AnswerTest, fixed null pointer exceptions for
addReply test methods.