test the function partly
deparallel the clValid due to error from double dopar.