Added test for duplicated accounts.