MyLangDet: bug fixes; test fixes for language-detection