test Ntrials on cluster