test version with parLapply