added tests for writing invalid reviews and comments