CVE-2019-3824 ldb: Add tests for ldb_wildcard_match