added unit tests for sending notifications
Merge remote-tracking branch 'origin/master'