Add tests for opcodes TST and ID