Merge "Add more pthreads tests."