add additional test functions
initial commit for tree-summing algorithm