             @body.exist.should.not.be.ok
 
     describe "Check Existence of a Document that does exist in database", ->
-        before ->
-            delete @body
-            delete @response
+        before cleanRequest
 
         it "When I send a request to check existence of Document with id 321", \
                 (done) ->
             client.get "data/exist/321/", (error, response, body) =>
-                response.should.be.json
                 response.statusCode.should.equal(200)
-                @body = JSON.parse body
+                @body = parseBody response, body
                 done()
 
         it "Then {exist: true} should be returned", ->

            @response.statusCode.should.equal(409)

    describe "Create a Document with id 987", ->
        before ->
            delete @body
            delete @response

        it "When I send a request to create a document with id 987", (done) ->
            client.post 'data/987/', {"value":"created value"}, (error, response, body) =>
                response.should.be.json
                response.statusCode.should.equal(201)
                @body = JSON.parse body
                done()

        it "Then { _id: '987' } should be returned", ->
            @body.should.have.property '_id', '987'

    describe "Create a Document without an id", ->
        before ->
            delete @body
            delete @response

        it "When I send a request to create a document without an id", (done) ->
            client.post 'data/', {"value":"created value"}, (error, response, body) =>
                response.should.be.json
                response.statusCode.should.equal(201)
                @body = JSON.parse body
                done()

        it "Then the id of the new document should be returned", ->
            @body.should.have.property '_id'


describe "Find", ->
    describe "Find a Document that does not exist in database", ->
        before cleanRequest

        it "When I send a request to get Document with id 123", (done) ->
            client.get "data/123/", (error, response, body) =>
