another tree test
made hufftree return sensible errors