         targetTerminal: 'b',
         title: 'unkown link'
       )
-    it "should have a reasonable text based terminalKey", () ->
+    it "should have a reasonable text based terminalKey", ->
       @link.terminalKey().should.equal("source[a] ---Link-1---> target[b]")
 
-describe 'Node', () ->
-  beforeEach () ->
+describe 'Node', ->
+  beforeEach ->
     @node_a = new Node({title: "Node a"},'a')
     @node_b = new Node({title: "Node b"},'b')
     @node_c = new Node({title: "Node c"},'c')

          @linkManager.toJsonString().should.match(/"links":/)
          @linkManager.toJsonString().should.equal(@serializedForm)

      describe "loadData", () ->
        beforeEach () ->
          @linkManager = new LinkManager()
        it "should read the serialized data without error", () ->
          data = JSON.parse(@serializedForm)
          @linkManager.loadData(data)
          @linkManager.nodeKeys.should.have.any.keys("a")

                   |   |
                   +---+
  ###
  describe 'its links', ->
    beforeEach ->
      @link_a = new Link
        title: "link a"
        sourceNode: @node_a
