random tree tests