Add a test for delaying notifications