added tests and implementation to opcode 0x1F