Added tests for notification delivery