function expectToFailFn(message){
        return function(){ expect.toFail(message); }
    }
******************************************************
return a function that invokes expect.toFail(failureMessage)
*******************************************************