Sinon error Attempted to wrap function which is already wrapped Sinon error Attempted to wrap function which is already wrapped node.js node.js