updated unittest for lexstat