Fix a bug which test file is not running.

N/A

ERROR message is:
unprotected error in call to Lua API (attempt to call a nil value).

Signed-off-by: liminghao <liminghao@xiaomi.com>