add pthread test