Add tests about notifier.