Tests for component model