 
         it 'should return the response with right formatting\n', (done) ->
           new SL(keys).tripPlanner.geometry (err, data) ->
+            expect(data).to.be.an "array"
+            expect(data[0]).to.have.property 'lat'
+            expect(data[0]).to.have.property 'lon'
             done()
 
 


chai       = require 'chai'
{ expect } = require 'chai'
chai.use(require('chai-xml'))

keys =
  realtimeInformation: 'xxx'


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