Add test device
Finish opcode tests