 
       rootView = new RootView(rootDirPath)
       project = rootView.project
-      rootView.activateExtension(TreeView)
+      rootView.activatePackage(TreeView)
       treeView = rootView.find(".tree-view").view()
       dirView = treeView.root.entries.find('.directory:contains(test-dir)').view()
       dirView.expand()

      rootView.deactivate() # Deactivates previous TreeView

      newRootView.attachToDom()
      newRootView.activateExtension(TreeView)

      newTreeView = newRootView.find(".tree-view").view()
      expect(newTreeView).toMatchSelector ':focus'

    rootView = new RootView(require.resolve('fixtures/tree-view'))
    project = rootView.project

    atom.loadPackage("tree-view")
    treeView = rootView.find(".tree-view").view()
    treeView.root = treeView.find('> li:first').view()
    sampleJs = treeView.find('.file:contains(tree-view.js)')
