[TEST] Add API test for external accounts.