use the according instruction encoding type in the tests
fixed off-by-one in for-loop
added instructions which do not take any operands such as nop yield