Add test for word2ngrams.