Adding the test code for the lexicon project