Add some tokenizer and analyzer tests

Related to #9.