aggregate_max_prefix test case
Test case for #3
Close #3 (with test cases)

The root cause of this bug was a "too short" memcpy that would let the
actions bit field with random values, thus the assert in
aggregate_no_rem poping...