it("should set the test as an error on warning the user", function () {
        revertWarning();
        var thisObj = {
            test: {
                error : sinon.stub()