Added test script for training lemmatizer and fixed tests so they work again.