Adapt functest testcase to APi refactoring

No match.