test for bank operation