SONAR-2501 refactor test API and fix extraction of subgraphs
SONAR-3959 Fix issue on Oracle