 
         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', ->


        it 'should return the response with right formatting\n', (done) ->
          new SL(keys).tripPlanner.geometry (err, data) ->
            done()




        it 'should return the response with right formatting', (done) ->
          new SL(keys).disturbanceInformation.deviationsrawdata (err, data) ->
            expect(data).to.be.an "array"
            expect(data[0]).to.have.property 'Priority'
            expect(data[0]).to.have.property 'SiteId'
            expect(data[0]).to.have.property 'LineNumber'
            expect(data[0]).to.have.property 'TransportMode'
            done()

    describe '#tripPlanner', ->
