Tests for the extraction transform.