Adding tree-testing endpoint for troubleshooting