Document pretest and trimming