13 tests covering: - AgentState file persistence (save, load, corrupt file, empty ID, clear) - AgentHealthCheck (healthy, degraded, unhealthy states) - AgentRegistrationService (successful registration, retry on failure, all retries exhausted, reuse existing identity, offline heartbeat on stop)