Fix doctest of addcomment pipe