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


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

      atom.project.deserialize(projectState, atom.deserializers)
      atom.workspace = new Workspace({
        config: atom.config, project: atom.project, packageManager: atom.packages,
        notificationManager: atom.notifications,
        clipboard: atom.clipboard, viewRegistry: atom.views, grammarRegistry: atom.grammars,
        setRepresentedFilename: jasmine.createSpy('setRepresentedFilename'),
        setDocumentEdited: setDocumentEdited, assert: atom.assert.bind(atom)
