Adding test for NotificationFactory::notifyUser() to ensure a valid notification object is constructed