Fix tests in test_lang