Test success notification logic