added test for NotificationHandler