 
     beforeEach((done) ->
       prepareData(apiDescriptionDocument, filename, (err, data) ->
+        return done(err) if err
         error = handleRuntimeProblems(data)
         done()
       )


    beforeEach((done) ->
      prepareData(apiDescriptionDocument, filename, (err, data) ->
        error = handleRuntimeProblems(data)
        done()
      )


    beforeEach((done) ->
      prepareData(apiDescriptionDocument, filename, (err, data) ->
        return done(err) if err
        error = handleRuntimeProblems(data)
        done()
      )
