tools: Refactoring how jumps are handled in iptables-test