update avg_dist_summary to allow < or > tests