       throw(err) if err != 'timeout'
       expect('timed out').toBe(false)
 
-    .finally ->
+    .done ->
       test_done()
-
-    .done()
 
   it 'should send a message and receive it back', (test_done) ->
     identity_json = JSON.stringify(

        return
      throw(err)

    .finally =>
      test_done()

    .done()

        return
      throw(err)

    .done =>
      test_done()

  it 'should read offline messages', (test_done) ->
    sender_app = new Backbone.Marionette.Application
