adds test for checking if exiting notifications works