Change default value of trials to 1000.

Change was reverted during merge.