[APPHELP_APITEST] Convert test_match_ex to a data driven test + fix a bug in the...