Improve documentation and unit tests for notifications

"It" -> "If"