added unit test for CreateOrListAccounts