test for adding comment using json