This looks like a bug to me.  You're appending the comment, but the original code prepended it.  Do the tests pass with your change?