Added a unit test for notifications count

Add comment to describe what this test does overall