         
     asyncReceiverTarget = https.createServer options, (req, res) ->
       res.writeHead 200, {'Content-Type': 'text/plain'}
-      res.end 'OK'
+      res.end 'Test Response'
 
 
     target.listen 8443, (err) ->

    out =
      info: (data) -> logger.info data
      error: (data) -> logger.error data
      pushOrchestration: (o) -> logger.info o
    server.postToDhis out, dxfData, (success) ->
      success.should.be.exactly true
      done()

      done()
    
  it 'should send dhis2 message to async receiver mediator when async job is complete', (done) ->
    orchestrations = []
    dxfData = fs.readFileSync 'test/resources/metaData.xml'
    config.getConf()['ilr-to-dhis']['dhis2-url'] = 'https://localhost:8125'
    config.getConf()['ilr-to-dhis']['dhis2-async'] = true
