SONAR-5624 use of the new api to test dao