[tests] add account api test