           expect(atom.packages.isPackageActive("package-with-missing-provided-services")).toBe true
           expect(addErrorHandler.callCount).toBe 0
 
-  describe "::serialize", ->
-    # TODO
-
-  describe "::serializePackage(pack)", ->
-    # afterEach ->
-    #   atom.packages.unloadPackages()
-
-    fit "does not serialize packages that have not been activated called on their main module", ->
+  describe "serialization", ->
+
+    it "does not serialize packages that have not been activated called on their main module", ->
       spyOn(console, 'warn')
       badPack = null
       waitsForPromise ->

        runs ->
          expect(console.warn).not.toHaveBeenCalled()

    fit "passes the activate method the package's previously serialized state if it exists", ->
      pack = atom.packages.loadPackage("package-with-serialization")
      waitsForPromise ->
        pack.activate()  # require main module

        atom.packages.activatePackage('package-with-serialization')

      runs ->
        atom.packages.serialize()
        expect(atom.packages.packageStates['package-with-serialize-error']).toBeUndefined()
        expect(atom.packages.packageStates['package-with-serialization']).toEqual someNumber: 1
        expect(console.error).toHaveBeenCalled()
