complete extractor example and test