working tokenization and test