       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()
       })

        workspace2 = 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 = 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
      })
      atom.workspace.deserialize(workspaceState, atom.deserializers)

