Test the Pthreads and Rcpp