test doParallel sample code