[Bug 881852] Some tests for profile external accounts
[Fix Bug 881852] Improvements/fixes to multi-account code
Merge pull request #613 from Sancus/multiaccountstests

[Bug 881852] Some tests/fixes for profile external accounts