ApiAccounts unit tests added