unit_tests on accumulate_h