         it "When I send a request to check existence of Note with id 123", \
                 (done) ->
             client.get "data/exist/123/", (error, response, body) =>
+                response.should.be.json
                 @body = JSON.parse body
                 done()
 

            should.exist @body.exist
            @body.exist.should.be.ok


describe "Test section", ->

    before (done) ->
        # Prepare database for tests
        db.save '321', {"value":"val"} # insert id 321 : Existence

        # start app
        app.listen(8888)
