Add tokenize test for #248