Respect sample_count.
calc_test_stat: print headers before each minimization if print_level.