test mode partially working; insn_check() in progress