add tokenizer and a couple of test cases