fixed anchor behaviour of comments. Added unittests for AddCommentAction