A few tests for tree2json method