add tests for unshared trees