Add test for notifications.