add invalid code spec, and fix typo
add branch-code spec
add branch-code spec when bank-code is invalid