fixed tests and variable names
exterm, lexicon, context