bash branch test