average case testing for number of runs