 
 chai       = require 'chai'
 { expect } = require 'chai'
-chai.use(require('chai-xml'))
+chai.use require('chai-xml')
 
 keys =
   realtimeInformation: 'xxx'


        it 'should return the response with right formatting', (done) ->
          new SL(keys).disturbanceInformation.deviationsrawdata (err, data) ->
            done()

    describe '#tripPlanner', ->


        it 'should return the response with right formatting', (done) ->
          new SL(keys).disturbanceInformation.deviations (err, data) ->
            expect(data).to.be.an "array"
            expect(data[0]).to.have.property 'MainNews'
            expect(data[0]).to.have.property 'Header'
            expect(data[0]).to.have.property 'Details'
            expect(data[0]).to.have.property 'Scope'
            done()

      describe '#deviationsRawData', ->
