Fix failing tests, different way to verify average calculation according to compression schema