added test for getBankAccounts