fixed notification factory test