 
             it "When I send a request to get doc with num = 10", (done) ->
                 client.post "request/all/even_num/", key: 10, \
+                            (error, response, body) =>
+                    response.statusCode.should.equal 200
+                    @body = body
+                    done()
+
+            it "Then I should have 1 documents returned", ->
+                @body.should.have.length 1
+
+            it "When I send a request to get doc with complex query", (done) ->
+                client.post "request/all/even_num_array/", \
+                    {startkey: ["test", 10], endkey: ["test", 10, {}]}, \
                             (error, response, body) =>
                     response.statusCode.should.equal 200
                     @body = body

                    res.views.should.have.property 'even_num', @viewEven
                    done()

    describe "Access to a view without option", ->
        describe "Access to a non existing view", ->
            before cleanRequest

                    @body = body
                    done()

            it "Then I should have 49 documents returned", ->
                @body.should.have.length 49


        describe "Delete all doc from a view : even_num", (done) ->
