Added test stub for getAverage function (why didn't I have this before?)