       idp = new saml2.IdentityProvider 'http://idp.example.com/login', 'http://idp.example.com/logout', 'other_service_cert'
 
       async.waterfall [
-        (cb_wf) => sp.create_login_url idp, 'http://sp.example.com/assert', cb_wf
+        (cb_wf) -> sp.create_login_url idp, 'http://sp.example.com/assert', cb_wf
       ], (err, login_url, id) ->
         assert not err?, "Error creating login URL: #{err}"
         parsed_url = url.parse login_url, true

        done()

  describe 'check_status_success', ->
    it 'accepts a valid success status', (done) ->
      saml2.check_status_success @good_response_dom, (err) ->
        assert not err?, "Got error: #{err}"
        done()

      'not HTTPS':'response2'

    _.each login_url_errors, (response_text, error_type) ->
      it.skip "returns correct 'login_url' error for #{error_type} ", (done) ->
        sp = new saml2.ServiceProvider 'private_key', 'cert'
        idp = new saml2.IdentityProvider 'login_url', 'logout_url', 'other_service_cert'
        assert false
        done()

    assert_errors =
      'error1' : 'response1'

    _.each assert_errors, (response_text, error_type) ->
      it.skip "returns correct 'assert' error for #{error_type} ", (done) ->
        assert false
        done()
