Added proper testing for notifier.