     .then (app) =>
       identity = JSON.parse(local_storage.getItem('identity'))
       expect(identity.fingerprint.length).toEqual(40)
-    .finally ->
+    .done ->
       test_done()
-    .done()
 
   it 'should post identity to server', (test_done) ->
     identity_json = JSON.stringify(

      return zc.waitfor(-> identity.get('public_url'))
    .then (public_url) =>
      expect(public_url).toContain('/id/' + FIX.FINGERPRINT)
    .finally ->
      test_done()
    .done()

  it 'should begin a new conversation', (test_done) ->
    identity_a_json = JSON.stringify(

        return
      throw(err)

    .done =>
      test_done()
