test: fix functions.sh.