getAverage done for new design in Test mode