Semantic highlighting tests