fix bugs of comments test