Fix noop opcode and add testcases