cpp: start adding extractor tests for dependency graph