JQuery tree and tests.