Created function in node_tdd.js for failure stack reporting.