added tests for the language analyzer