added unit tests for parser and lexicon, moved snippet of code from app to parser.Sentence