script test: use a tmp file indicate pass or fail to python wrapper.
bugfix: python doesnt cast str -> bool properly. do str -> int -> bool.
bugfix: check stack size for OP_WITHIN before popping items from stack.