some tests for the opcodes, and bug fix on opdec