       {value} = yield browser
         .executeAsync (done) ->
           client.user.account()
-          .then (res)->
-            done res
-          .catch (err)->
+          .then (res) ->
+            done res
+          .catch (err) ->
             done client.lastResponse
 
       value.status.should.equal 200

      {value} = yield browser
        .executeAsync (done) ->
          client.user.login
            email: email
            password: goodPass2
          .then (res)->
            done res
          .catch (err)->
            done client.lastResponse

      value.status.should.equal 401

      {value} = yield browser
        .executeAsync (done) ->
          client.user.login
            email:    randomEmail()
            password: goodPass1
          .then (res) ->
            done res
          .catch (err) ->
            done client.lastResponse

      value.status.should.equal 401
