it("should thrown an error if dot notation is not valid", function () {
                return getRequest.then(function (obj) {
                    expect(function() {
                        expect(obj).to.have.schema('headers.non.existant', {});
                    }).to.throw(Error);