make bank service more testable
add test on bank service