fix bug in function: testBankTransfer