Improved notification test