tests language detection