Added Danilo's average_n test