added tests for writing invalid reviews and comments

Inconsistent indentation detected.