LanguageSpecificationFactory tests updated