Add accountInfo method with passing tests