Add code for test-lexicon