         workspace2 = new Workspace({
           config: atom.config, project: atom.project, packageManager: atom.packages,
           grammarRegistry: atom.grammars, notificationManager: atom.notifications,
+          clipboard: atom.clipboard, viewRegistry: atom.views,
           setRepresentedFilename: jasmine.createSpy('setRepresentedFilename'),
           setDocumentEdited: setDocumentEdited, atomVersion: atom.getVersion()
         })

      atom.workspace = new Workspace({
        config: atom.config, project: atom.project, packageManager: atom.packages,
        grammarRegistry: atom.grammars, notificationManager: atom.notifications,
        setRepresentedFilename: jasmine.createSpy('setRepresentedFilename'),
        setDocumentEdited: setDocumentEdited, atomVersion: atom.getVersion()
      })
      atom.workspace.deserialize(workspaceState, atom.deserializers)


    atom.workspace = workspace = new Workspace({
      config: atom.config, project: atom.project, packageManager: atom.packages,
      grammarRegistry: atom.grammars, notificationManager: atom.notifications,
      clipboard: atom.clipboard, viewRegistry: atom.views,
      setRepresentedFilename: jasmine.createSpy('setRepresentedFilename'),
      setDocumentEdited: setDocumentEdited, atomVersion: atom.getVersion()
    })
