threading testcase update

to include tls api tests