Unit tests to check number of accounts calculation