Turn off comment notifications during AJAX unit tests.

Fixes #26659.