function testMap2() {
  checkMap(createTestTree1()[0]);
  checkMap(createTestTree2()[0]);
}
Tests that lf.tree.map() is constructing a new tree with the exact same
structure as the original tree, for two more complex trees.