[BACKLOG-755] -- added unit test for comment endpoint validation