Add test for sum_bits.