added tests for writing invalid reviews and comments

1 trailing blank lines detected.