fixup failing tests resulting from change of interface to get UI working. Refactor test setup into LexiconMongoTestEnvironment.