Statistical Tests for Large Tree-Structured Data