unit test for notifications updated.