Added a unit test for notifications count