//! Tests for the lifecycle of components.