change the way to use library tst