testing the extractor with mock pages