add test for notificationService