notifications: NotificationManager is slightly more visible for testing
notifications: minor refactoring in NotificationSender

... which make testing easier
test: added NotificationManagerTest