 
 exports.testClientMissingHeadersResponse = (test) ->
   test.expect 3
-
-  sockPath = tmpFile()
 
   worker = createDuplexServer (conn) ->
     worker.close()

exports.testClientUncompletedRequest = (test) ->
  test.expect 3

  sockPath = tmpFile()

  worker = createDuplexServer (conn) ->
    worker.close()

    conn.on 'data', () ->
      conn.end()

  worker.listen sockPath, () ->
    client = createConnection sockPath

    client.on 'close', ->
      test.done()


exports.testClientInvalidStatusResponse = (test) ->
  test.expect 3

  worker = createDuplexServer (conn) ->
    worker.close()
