use mock.patch instead, as mock is separate library in python2 and part
of unittest in python3. Should be fixed some how.
Drop last traces of guesslanguage usage