Tree test page: Fix child filtering and sync API invocations