Master account impo pytest case 

I have converted python test case old to new API. Thanks