Tests for tokenizer