Sums and tests