Added tests for empty token chars on ngram tokenizer

This relates to #5120