Working on average calculations and tests.