enhanced unitTest in notification