add token test
make ngram min/max configurable