added on more condition to comment button in app.test