[IMP]account:converted old to new api.

 have converted python test case old to new API. Thanks