 
         it 'should return the response with right formatting', (done) ->
           new SL(keys).tripPlanner.journeyDetail (err, data) ->
+            expect(data).to.be.an "object"
+            expect(data).to.have.property 'Stops'
+            expect(data).to.have.property 'GeometryRef'
+            expect(data).to.have.property 'Names'
+            expect(data).to.have.property 'Types'
+            expect(data).to.have.property 'Lines'
+            expect(data).to.have.property 'Directions'
             done()
 
       describe '#geometry', ->


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

      describe '#journeyDetail', ->


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