Notification handling tests