Standardize code formatting across test files and monitor.go. No functional changes.
Tests for defensive copy functions that ensure data isolation: - copyEmailConfig: copies email config with slice independence - copyWebhookConfigs: deep copies webhooks including maps - copyAppriseConfig: copies apprise config with slice independence - buildNotificationTestAlert: validates test alert structure Tests verify that modifying copies doesn't affect originals, critical for concurrent access safety.
Tests for annotateResolvedMetadata, resolveAppriseNotificationType, normalizeQueueType, and resolvedTimeFromAlerts (44 test cases). Coverage 38.0% → 39.0%.