Added unit test for the language detection UDF.