tst code