* Use average in a test.

Hope it'll lead to it not failing on Travis.