added tests for writing invalid reviews and comments

Extra blank line detected.