         }
       }
 
-      hActor.createChild "hchannel", "inproc", channelC0Props, (child) =>
+      hActor.createChild "hchannel", "inproc", hc1Props, (child) =>
         hc1 = child
 
-      hActor.createChild "hactor", "inproc", actorH1Props, (child) =>
+      hActor.createChild "hactor", "inproc", ha1Props, (child) =>
         ha1 = child
-
-      hc1.h_tearDown()
-      hc1.h_start()
 
     after () ->
       hActor.h_tearDown()
       hActor = null
 
     it "Channel should be restarted correctly", (done) ->
+      hc1.h_tearDown()
+      hc1.h_start()
       hActor.should.have.property "status", "ready"
       ha1.should.have.property "status", "ready"
       oldSetStatus = hc1.h_setStatus

        #  {type: "channel_in", channel: config.logins[2].urn}
        ]
      }
      channelC0Props = {
        actor:config.logins[2].urn,
        type:"hchannel",
        properties: {

  config = require("./_config")
  hResultStatus = require("../lib/codes").hResultStatus
  actorModule = require("../lib/actor/hactor")
  describe "#FilterMessage()", ->
    hMsg = undefined
    filter = undefined
