More comprehensive test cases for the notification class