Apply a test on tokens
function tokenizeCheck() {
    var fn = tokenize.serie.apply(tokenize, arguments);

    return function(text, opts, callback) {
        try {
            callback(null, fn(text, opts));
        } catch(err) {
            callback(err);
        }
    };
}