fixed expected value in testAverage