Fixed debug output
Fixed test for opcode 0xe: since we don't use the scratchbuffer in the opcode,
we have to explicitly fill that one too for the test.
Converted printfs() to std::cout