Update timeout test to spy on Notification.prototype.close