adds tests for language detection.