finish TreePartialSum test