Fix failing unit test in QueuedNotificationManagerTest