[imp]:converted test case old to new api