Wrote Tests for semantic component