sum and the tests