added tests for ImportLeaf