function-test: 修正一些用例

Signed-off-by: May <sirhuntthepure@users.noreply.github.com>
(cherry picked from commit 2c14c0923580b32dc3db8a4c7474bd87aa50701c)
Signed-off-by: May <sirhuntthepure@users.noreply.github.com>