Added a unit test for notifications count

This seems to be logical: cached realms have been validated, and that step can be skipped.