resolved problem with Thai word boundaries, added more tests