added multithread test for python