Add failure cases to indirect_jump test
Optimize JumpHelper()