On testwikidata, wbsearchentities results for lexemes report the match language code 'und' (“undetermined” per ISO 639-3) instead of the actual language code of the lexeme.
$ curl -sG https://{test,www}.wikidata.org/w/api.php -d action=wbsearchentities -d search=Ding -d language=de -d type=lexeme -d format=json | jq -r .search[0].match.language und de
One effect of this is that the Wikidata Lexeme Forms duplicate detection doesn’t work for templates targeting test.wikidata.org (like german-noun-neuter-test), since the tool thinks the search results are false positives for lexemes in another language and therefore not duplicates.