ported InsertOpcodeOperation tests.